package com.mp.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

//create sequence t_user_id_seq;
@KeySequence(value = "t_user_id_seq",dbType = DbType.ORACLE)
@Data
@TableName(value = "t_user")
public class User {

    private static final long serialVersionUID = 1L;

    /** 主键ID **/
    @TableId(value = "id",type = IdType.INPUT)
    private Integer id;

    /** 入库时间 **/
    @TableField(value = "addTime")
    private Date addTime;

    /** 用户 **/
    @TableField(value = "userName")
    private String userName;

    /** 密码 **/
    @TableField(value = "password")
    private String password;
}